Change in openvpn[master]: Fix building wolfSSL with CMake
A message that is not in the archive (sent off-list or not yet received): gerrit.1775130235000.I355760e43c3e2da0dda0cdec6e4253c028cefe38@...2715...
plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1604?usp=email )
Change subject: Fix building wolfSSL with CMake
......................................................................
Fix building wolfSSL with CMake
This fixes not finding the includes and add the define that our autoconf script also adds.
Change-Id: I355760e43c3e2da0dda0cdec6e4253c028cefe38
---
M CMakeLists.txt
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/04/1604/1
CMakeLists.txt +2 -0
@@ -323,7 +323,9 @@ elseif (${WOLFSSL}) pkg_search_module(wolfssl wolfssl REQUIRED) target_link_libraries(${target} PUBLIC ${wolfssl_LINK_LIBRARIES}) + target_include_directories(${target} PRIVATE ${wolfssl_INCLUDE_DIRS}) target_include_directories(${target} PRIVATE ${wolfssl_INCLUDE_DIRS}/wolfssl) + target_compile_definitions(${target} PRIVATE EXTERNAL_OPTS_OPENVPN) else () find_package(OpenSSL REQUIRED) target_link_libraries(${target} PUBLIC OpenSSL::SSL OpenSSL::Crypto)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1604?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I355760e43c3e2da0dda0cdec6e4253c028cefe38
Gerrit-Change-Number: 1604
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>